#!/bin/bash

ping www.qq.com -c 1 -W 3 &> /dev/null
if [ $? -ne 0 ]; then
    /usr/bin/python3 /usr/local/web_login/web_login.py
fi
